/*@import './base.css';*/
:root {
  --r: calc(100vw/375); // 假如设计稿宽度为375px, 120px的宽度可以这么写：width: calc(120*var(--r));
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  position: relative;
  font-weight: normal;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: #f8f8f8;
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
  Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  // font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

// 深色模式
html.van-theme-dark {
  body {
    color: var(--van-gray-1);
    background-color: var(--van-black);
  }
}

// some tools
.font-small {
  font-size: 14px;
}

#app {
  width: 100%;
  height: 100vh;
  transition: all 0.5s;
}
